Fix bug #14771 with scroll-step = 1 and non-nil line-spacing.
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2013 10:41:38 +0000 (13:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2013 10:41:38 +0000 (13:41 +0300)
commit5d00cee0b97aef3fbb213b03f0056c3adf430309
treee117138e4afbefa638e9888409cecfad3929d6ef
parentb27c8672b75e91320322cd6d54ba86873f3a6c37
Fix bug #14771 with scroll-step = 1 and non-nil line-spacing.

 src/xdisp.c (default_line_pixel_height): New function.
 (pos_visible_p, move_it_vertically_backward, try_scrolling)
 (try_cursor_movement, redisplay_window, try_window)
 (try_window_id): Use it instead of FRAME_LINE_HEIGHT.  (Bug#14771)
 src/window.c (window_scroll_pixel_based): use
 default_line_pixel_height.
 src/dispextern.h (default_line_pixel_height): Add prototype.
 src/frame.c (x_set_line_spacing): Accept a float value for
 line-spacing parameter, per the documentation.
src/ChangeLog
src/dispextern.h
src/frame.c
src/window.c
src/xdisp.c